class ConfigBean {
  ConfigBean({
      String? adChain, 
      String? adChainType, 
      num? adDelay, 
      num? adSwitch, 
      num? aiAnswerSwitch, 
      num? aiWritingSwitch, 
      String? appId, 
      String? appName, 
      num? banStatus, 
      num? buryingEnable, 
      num? checkFlag, 
      num? clickTrigger, 
      num? closeRate, 
      num? csjCheckFlag, 
      num? currChannel, 
      String? djId, 
      String? downloadLink, 
      num? forceUpgrade, 
      num? id, 
      num? isAttribution, 
      num? isWhiteList, 
      num? lockSwitch, 
      num? motivationVideo, 
      String? pkgName, 
      num? riseId, 
      String? upgrade,}){
    _adChain = adChain;
    _adChainType = adChainType;
    _adDelay = adDelay;
    _adSwitch = adSwitch;
    _aiAnswerSwitch = aiAnswerSwitch;
    _aiWritingSwitch = aiWritingSwitch;
    _appId = appId;
    _appName = appName;
    _banStatus = banStatus;
    _buryingEnable = buryingEnable;
    _checkFlag = checkFlag;
    _clickTrigger = clickTrigger;
    _closeRate = closeRate;
    _csjCheckFlag = csjCheckFlag;
    _currChannel = currChannel;
    _djId = djId;
    _downloadLink = downloadLink;
    _forceUpgrade = forceUpgrade;
    _id = id;
    _isAttribution = isAttribution;
    _isWhiteList = isWhiteList;
    _lockSwitch = lockSwitch;
    _motivationVideo = motivationVideo;
    _pkgName = pkgName;
    _riseId = riseId;
    _upgrade = upgrade;
}

  ConfigBean.fromJson(dynamic json) {
    _adChain = json['ad_chain'];
    _adChainType = json['ad_chain_type'];
    _adDelay = json['ad_delay'];
    _adSwitch = json['ad_switch'];
    _aiAnswerSwitch = json['ai_answer_switch'];
    _aiWritingSwitch = json['ai_writing_switch'];
    _appId = json['app_id'];
    _appName = json['app_name'];
    _banStatus = json['ban_status'];
    _buryingEnable = json['burying_enable'];
    _checkFlag = json['check_flag'];
    _clickTrigger = json['click_trigger'];
    _closeRate = json['close_rate'];
    _csjCheckFlag = json['csj_check_flag'];
    _currChannel = json['curr_channel'];
    _djId = json['djId'];
    _downloadLink = json['download_link'];
    _forceUpgrade = json['force_upgrade'];
    _id = json['id'];
    _isAttribution = json['is_attribution'];
    _isWhiteList = json['is_white_list'];
    _lockSwitch = json['lock_switch'];
    _motivationVideo = json['motivation_video'];
    _pkgName = json['pkg_name'];
    _riseId = json['riseId'];
    _upgrade = json['upgrade'];
  }
  String? _adChain;
  String? _adChainType;
  num? _adDelay;
  num? _adSwitch;
  num? _aiAnswerSwitch;
  num? _aiWritingSwitch;
  String? _appId;
  String? _appName;
  num? _banStatus;
  num? _buryingEnable;
  num? _checkFlag;
  num? _clickTrigger;
  num? _closeRate;
  num? _csjCheckFlag;
  num? _currChannel;
  String? _djId;
  String? _downloadLink;
  num? _forceUpgrade;
  num? _id;
  num? _isAttribution;
  num? _isWhiteList;
  num? _lockSwitch;
  num? _motivationVideo;
  String? _pkgName;
  num? _riseId;
  String? _upgrade;

  String? get adChain => _adChain;
  String? get adChainType => _adChainType;
  num? get adDelay => _adDelay;
  num? get adSwitch => _adSwitch;
  num? get aiAnswerSwitch => _aiAnswerSwitch;
  num? get aiWritingSwitch => _aiWritingSwitch;
  String? get appId => _appId;
  String? get appName => _appName;
  num? get banStatus => _banStatus;
  num? get buryingEnable => _buryingEnable;
  num? get checkFlag => _checkFlag;
  num? get clickTrigger => _clickTrigger;
  num? get closeRate => _closeRate;
  num? get csjCheckFlag => _csjCheckFlag;
  num? get currChannel => _currChannel;
  String? get djId => _djId;
  String? get downloadLink => _downloadLink;
  num? get forceUpgrade => _forceUpgrade;
  num? get id => _id;
  num? get isAttribution => _isAttribution;
  num? get isWhiteList => _isWhiteList;
  num? get lockSwitch => _lockSwitch;
  num? get motivationVideo => _motivationVideo;
  String? get pkgName => _pkgName;
  num? get riseId => _riseId;
  String? get upgrade => _upgrade;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['ad_chain'] = _adChain;
    map['ad_chain_type'] = _adChainType;
    map['ad_delay'] = _adDelay;
    map['ad_switch'] = _adSwitch;
    map['ai_answer_switch'] = _aiAnswerSwitch;
    map['ai_writing_switch'] = _aiWritingSwitch;
    map['app_id'] = _appId;
    map['app_name'] = _appName;
    map['ban_status'] = _banStatus;
    map['burying_enable'] = _buryingEnable;
    map['check_flag'] = _checkFlag;
    map['click_trigger'] = _clickTrigger;
    map['close_rate'] = _closeRate;
    map['csj_check_flag'] = _csjCheckFlag;
    map['curr_channel'] = _currChannel;
    map['djId'] = _djId;
    map['download_link'] = _downloadLink;
    map['force_upgrade'] = _forceUpgrade;
    map['id'] = _id;
    map['is_attribution'] = _isAttribution;
    map['is_white_list'] = _isWhiteList;
    map['lock_switch'] = _lockSwitch;
    map['motivation_video'] = _motivationVideo;
    map['pkg_name'] = _pkgName;
    map['riseId'] = _riseId;
    map['upgrade'] = _upgrade;
    return map;
  }

  @override
  String toString() {
    return 'ConfigBean{_adChain: $_adChain, _adChainType: $_adChainType, _adDelay: $_adDelay, _adSwitch: $_adSwitch, _aiAnswerSwitch: $_aiAnswerSwitch, _aiWritingSwitch: $_aiWritingSwitch, _appId: $_appId, _appName: $_appName, _banStatus: $_banStatus, _buryingEnable: $_buryingEnable, _checkFlag: $_checkFlag, _clickTrigger: $_clickTrigger, _closeRate: $_closeRate, _csjCheckFlag: $_csjCheckFlag, _currChannel: $_currChannel, _djId: $_djId, _downloadLink: $_downloadLink, _forceUpgrade: $_forceUpgrade, _id: $_id, _isAttribution: $_isAttribution, _isWhiteList: $_isWhiteList, _lockSwitch: $_lockSwitch, _motivationVideo: $_motivationVideo, _pkgName: $_pkgName, _riseId: $_riseId, _upgrade: $_upgrade}';
  }
}